package com.ease.model.term;

import java.util.HashMap;
import java.util.Map;

import com.ease.model.NamespaceModel;

public abstract class AbstractActionCoolRenderer extends NamespaceModel {

	/**
	 *
	 */
	private static final long serialVersionUID = 2368260086757957109L;

	private int ordinal;

	// private String viewName;

	private String icon;

	private String disabledIcon;

	private Boolean visible;

	private Boolean enable;

	private String tooltip;

	private Boolean separator;

	private String parameter;
	// private String className;

	private Map<String, Object> parameterMap = new HashMap<String, Object>();

	private long actionId;
	private CoolAction action;

	/**
	 * @return the ordinal
	 */
	public int getOrdinal() {
		return ordinal;
	}

	/**
	 * @param ordinal
	 *            the ordinal to set
	 */
	public void setOrdinal(int ordinal) {
		this.ordinal = ordinal;
	}

	/**
	 * @return the icon
	 */
	public String getIcon() {
		return icon;
	}

	/**
	 * @param icon
	 *            the icon to set
	 */
	public void setIcon(String icon) {
		this.icon = icon;
	}

	/**
	 * @return the disabledIcon
	 */
	public String getDisabledIcon() {
		return disabledIcon;
	}

	/**
	 * @param disabledIcon
	 *            the disabledIcon to set
	 */
	public void setDisabledIcon(String disabledIcon) {
		this.disabledIcon = disabledIcon;
	}

	/**
	 * @return the visible
	 */
	public Boolean getVisible() {
		return visible;
	}

	/**
	 * @param visible
	 *            the visible to set
	 */
	public void setVisible(Boolean visible) {
		this.visible = visible;
	}

	/**
	 * @return the enable
	 */
	public Boolean getEnable() {
		return enable;
	}

	/**
	 * @param enable
	 *            the enable to set
	 */
	public void setEnable(Boolean enable) {
		this.enable = enable;
	}

	/**
	 * @return the tooltip
	 */
	public String getTooltip() {
		return tooltip;
	}

	/**
	 * @param tooltip
	 *            the tooltip to set
	 */
	public void setTooltip(String tooltip) {
		this.tooltip = tooltip;
	}

	/**
	 * @return the separator
	 */
	public Boolean getSeparator() {
		return separator;
	}

	/**
	 * @param separator
	 *            the separator to set
	 */
	public void setSeparator(Boolean separator) {
		this.separator = separator;
	}

	/**
	 * @return the parameter
	 */
	public String getParameter() {
		return parameter;
	}

	/**
	 * @param parameter
	 *            the parameter to set
	 */
	public void setParameter(String parameter) {
		this.parameter = parameter;
	}

	/**
	 * @return the actionId
	 */
	public long getActionId() {
		return actionId;
	}

	/**
	 * @param actionId
	 *            the actionId to set
	 */
	public void setActionId(long actionId) {
		this.actionId = actionId;
	}

	/**
	 * @return the action
	 */
	public CoolAction getAction() {
		return action;
	}

	/**
	 * @param action
	 *            the action to set
	 */
	public void setAction(CoolAction action) {
		this.action = action;
	}

	public void setParameterMap(Map<String, Object> parameterMap) {
		this.parameterMap = parameterMap;
	}

	public Map<String, Object> getParameterMap() {
		return parameterMap;
	}
}
